WARNING: This program has a syntax error, which means we need to fix it!
RULE: The first variable in a loop creation statement (the loop variable) stores a value that changes every time the loop runs. This variable CANNOT share the same name as another variable in the program.
- Run the code to see the error. The loop variable shares a name with another variable!
- Change the loop variable in the line that creates the for loop from cheer to letter.
To navigate the page using the TAB key, first press ESC to exit the code editor.